package com.jnu.HomeworkApplication.data;

import java.io.Serializable;

public class Book implements Serializable {
    public int coverResourceId;
    public String title;

    public Book(String title, int coverResourceId){
        this.coverResourceId = coverResourceId;
        this.title = title;
    }

    public int getCoverResourceId(){
        return coverResourceId;
    }

    public String getTitle(){
        return title;
    }

    public void setCoverResourceId(int coverResourceId) {
        this.coverResourceId = coverResourceId;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
